package com.yc.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yangc91@bngrp.com
 * @date 2020/8/6 14:33
 */
@FeignClient(value = "order-service")
public interface IOrderService {
    @PostMapping("/order/insert")
    String insertOrder(@RequestParam Long id);
}
